package com.hb.trans.mvp.model

import com.basiclib.base.BaseModel
import com.hb.trans.api.EndPoints
import com.hb.trans.mvp.contract.CenterListContract
import javax.inject.Inject

class CompanyItemModel @Inject constructor(var api: EndPoints) : BaseModel(), CenterListContract.Model {
    private val TAG = this::class.java.simpleName

//    override fun getById(): Observable<Base<Update>> {
//        return api.getById("${TRANS_SERVER_MY_PATH}api/version/getById")
//    }
//
//    override fun getLocationInfo(location: Location): Observable<Geocoder> {
//        val params = mutableMapOf(
////            "callback" to "renderReverse",
//            "location" to "${location.latitude},${location.longitude}",
//            "coordtype" to "wgs84ll",
//            "output" to "json",
//            "ak" to "134db1b9cf1f1f2b4427210932b34dcb"
//        )
//        return api.geocoder("http://api.map.baidu.com/geocoder/v2/", params)
//    }

}